package com.bill99.constant;




/**
 * 静态常量类
 * @author    Ghy
 * @version   V1.00 2016年11月30日
 * @see       [相关类/方法]
 * @since     Weline V100R001
 */
public class Constants {

    /**
     * ajax状态 true
     */
    public final static boolean YES_SUCCESS = true;

    /**
     * ajax状态 false
     */
    public final static boolean NO_SUCCESS = false;


    /**
     * 定时任务存取系统参数到redis的key
     */
    public final static String SYSTEMPARAM = "sysParam";

    /**
     * 定时任务存取机构配置参数到redis的key
     */
    public final static String COMPANYPARAM = "companyParam";

    /**
     * 定时任务存取数据字典到redis的key
     */
    public final static String DATADICT = "dict:";

    /**
     * 获取hash存储的自增长值 的hash key
     */
    public final static String HASHKEY = "msgCode";

    /**
     * 获取hash存储的自增长值 的生存时间
     */
    public final static long EXPRITIME = 10*24*60*60L;


    /**
     * 系统默认换行符
     * 从当前系统中获取换行符，默认是"\n"
     */
    public final static String lineSeparator = System.getProperty("line.separator", "\n");

    public final static String YEARFORMAT = "yyyy";

    public final static String Y_M_D_FORMAT = "yyyy-MM-dd";

    public final static String YYYYMMDDFORMAT = "yyyyMMdd";

    public final static String Y_M_D_H_M_SFORMAT = "yyyy-MM-dd HH:mm:ss";

    /**
     * 支付状态推送接口-支付状态-支付成功
     */
    public final static String _PAY_STATUS_SUCCESS = "SUCCESS";

    /**
     * 支付状态推送接口-支付状态-支付失败
     */
    public final static String _PAY_STATUS_FAIL = "FAIL";

    /**
     * 系统参数推送方式key
     */
    public final static String SYS_PARAM_MESSAGE_TYPE = "message.type";
    
    /**
     * 报警图片存放路径key
     */
    public final static String SYS_PARAM_IMAGE_URL = "image.url";
    
    /**
     * 极光消息推送appkey
     */
    public final static String SYS_PARAM_PUSH_APPKEY = "msg.push.appkey";
    
    /**
     * 极光消息推送appkey
     */
    public final static String SYS_PARAM_PUSH_MASTERSECRET = "msg.push.mastersecret";
    
    /**
     * 短信accessKeyId
     */
    public final static String SYS_PARAM_SMS_ACCESSKEYID = "sms.accessKeyId";
    
    /**
     * 短信accessKeySecret
     */
    public final static String SYS_PARAM_SMS_ACCESSKEYSECRET = "sms.accessKeySecret";
    
    /**
     * 短信签名
     */
    public final static String SYS_PARAM_SMS_SIGNNAME = "sms.signName";
    
    /**
     * 短信模板
     */
    public final static String SYS_PARAM_SMS_TEMPLATECODE = "sms.templateCode";
    
    /**
     * mqtt发布消息的tcp服务器地址
     */
    public final static String SYS_PARAM_MQTT_HOST = "mqtt.host";
    
    /**
     * mqtt发布消息的主题
     */
    public final static String SYS_PARAM_MQTT_TOPIC = "mqtt.topic";
    
    /**
     * mqtt发布消息的mqttId
     */
    public final static String SYS_PARAM_MQTT_CLIENTID = "mqtt.clientid";
    
    /**
     * mqtt发布消息的用户名
     */
    public final static String SYS_PARAM_MQTT_USERNAME = "mqtt.username";
    
    /**
     * mqtt发布消息的密码
     */
    public final static String SYS_PARAM_MQTT_PASSWORD = "mqtt.password";
    
    /**
     * 消息模板key
     */
    public final static String MODEL_MESSAGE_KEY = "alert.message";
    
    /**
     * 短信模板key
     */
    public final static String MODEL_SMS_KEY = "alert.sms";
    
    /**
     * 系统参数-车辆相关接口url前缀key
     */
    public final static String INTERFACE_PARAM_URL= "interface.param.url";
    
    /**
     * 获取车辆信息接口
     */
    public final static String HTTP_GETTRANSPORTVEHICLELIST_PDCT = "GetTransportVehicleList_PDCT";
    
    /**
     * 获取公司信息接口
     */
    public final static String HTTP_GETTRANSPORTCOMPANYLIST_PDCT = "GetTransportCompanyList_PDCT";
    
    /**
     * 获取处置证信息接口
     */
    public final static String HTTP_GETBIPRINTLIST_VEHICLE_PDCT = "GetBIPrintList_Vehicle_PDCT";
    
    /**
     * 系统参数-公司信息接口的最后修改时间，用于获取数据
     */
    public final static String INTERFACE_COMPANY_TIME = "interface.company.time";
}




